package chances.webui.taglibs;

import java.util.Map;

public class DialogTag extends ToolbarUITag {

	private static final long serialVersionUID = 1L;
	
	private String title;
	private String type;
	
	@Override
	protected void reset() {
		super.reset();
		this.setHeader(null);
		this.setFooter(null);
	}
	
	@Override
	protected void initContext(Map<String, Object> context) {
		context.put("dialog", this);
	}
	
	public String getTitle() {
		return title;
	}

	public String getType() {
		return type;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setType(String type) {
		this.type = type;
	}
}
